import { connect } from 'react-redux';
import UserInfo from './UserInfo';


function mapStateToProps(state) {
    console.log(state)
	return {
		user: state.user
	}
}

function mapDispatchToProps(dispatch) {
	return {}
}


export default connect(
    mapStateToProps,
    mapDispatchToProps
)(UserInfo);
